package values.avatar
{
/**
 * EnhancePropertyPluser
 * @author jliang
 *
 */
public class EnhancePropertyPluser extends AvatarPropertyPluser
{
	public static const ENHANCE_PROPERTIES:Array = [ "normalPower", "skillPower", "elementPower" ];
	
	//==========================================================================
	//  Constructor
	//==========================================================================
	public function EnhancePropertyPluser(owner:IAvatarValue, name:String)
	{
		super(owner, name);
	}
	
	[Prop(mapping="normalPower")]
	override public function get normalPower():Number
	{
		return super.normalPower;
	}
	
	[Prop(mapping="skillPower")]
	override public function get skillPower():Number
	{
		return super.skillPower;
	}
	
	[Prop(mapping="elementPower")]
	override public function get elementPower():Number
	{
		return super.elementPower;
	}
	
	public function get enhanceProperties():Array
	{
		return [ normalPower, skillPower, elementPower ];
	}
}
}